[Git][ghc/ghc][wip/T26115] Use an implication constraint in Deriv