move loop locals into same clearing context as loop body