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