make inst_begin/inst_end iterate over InstructionsByEnumValue.