[Git][ghc/ghc][wip/romes/27401-2] 4 commits: join ioreferences and use SizedSeq