[Git][ghc/ghc][master] Don't lose instances from shadowed imported modules with the same name