[GHC] #10390: Constraint order must match with RankNTypes