[GHC] #9695: GADT Constraint breaks type inference