[GHC] #11390: GHC does not warn about redundant equations