[GHC] #10450: RankNTypes type check on pattern match of "let" behaves different from "case"