[GHC] #10100: Bogus "redundant constraint" warning with functional dependencies