move loop-locals from env to recur node