[GHC] #10381: Type-checking failure with RankNTypes and RebindableSyntax