[Git][ghc/ghc][wip/romes/27461] 4 commits: downsweep: make control flow simpler and cache correct