Rewrite ReattachAliasedExpression as a rewriter for the new AST