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