[GHC] #8994: type checker could not deduce ambiguous instances