[Git][ghc/ghc][master] Refactor FunResCtxt a bit