[Git][ghc/ghc][master] Discard type arguments in tcPatToExpr (#27440, #27583)