[Git][ghc/ghc][wip/fendor/ghci-multiple-home-units] 6 commits: Refactor handling of imported COMPLETE pragmas