search: don't mutate job args when computing result types
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/32594.
Inlines the "force result types" computation in computeResultTypes
but keeps the mutation of job args (jargs
) out of it. This is an intermediate step.
Test plan
Semantics-preserving.