[macro] Fixed recursion on TypedExprTools.map