_pipeline.py: Drop the optimization for cached elements in the planner

The overhead of planning already cached elements and unneeded build-only
dependencies should be fairly small as unneeded jobs can still be
skipped. This optimization was also already disabled for non-strict
build plans with a remote artifact cache.

This change is necessary in preparation for parallelizing cache queries.
1 file changed