Search backend: chop out `doResults`
Created by: camdencheek
This removes all but the single dependency on doResults
then inlines it.
Please review commit-by-commit since each commit has a message describing how I convinced myself that the change is behavior-preserving.
Stacked on #30451