[GHC] #9559: "Illegal equational constraint" that might not be the users fault