Remove an unused variable.
Emit the loop control variable as a non-reduction way
Revert "Emit the loop control variable as a non-reduction way"

This reverts commit e4eafb81cf2646e756f97a3a27752f707cd1bda7.