Update ActionSetupVisitor.java

Fixed issue with for loops which get their binding from a lookup. The issue was that the forloop change (removes) the looked up binding.