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