inference: don't put globally-cached results into inference local cache (#51888)
Now, we fill the inference's local cache exclusively with locally-cached
results. Given that sources of globally-cached results will be populated
from the global cache when needed (for inlining), there's no need for
them to waste memory in the local cache.
@nanosoldier `runbenchmarks("inference", vs=":master")`