Added index method to InstructionGroup

This is useful if you want to remove the instruction, but then later put it back in the same place.