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