[GHC] #8053: unification error with ghc head