[GHC] #8390: regression in handling of type variables in constraints on instances which do not appear in the instance head