search: promote "required" property of search jobs before doResults
Created by: rvantonder
https://github.com/sourcegraph/sourcegraph/pull/29172 was reverted because it broke tests and the main build. I found the cause (see inline comment). This unreverts the commit + adds the one line fix. This time the PR passes main-dry-run
so we're actually green.