[GHC] #10270: inconsistent semantics of type class instance visibility outside recursive modules