[Partial Prefetching] Small optimizations and fixes (#99695)
Fixes a few oversights in the Partial Prefetching implementation that I
discovered while working on a larger refactor. I've moved these into a
separate PR so they can be reviewed independently of the upcoming
restructuring.
These can be reviewed commit-by-commit.