[GHC] #9888: Inconsistent type family resolution