[GHC] #9210: "overlapping instances" through FunctionalDependencies