Fix insertion of \ inside parentheses (e.g. when defining lambdas), fix insertion @ inside patterns