c++: add INSTR_ERASE_MEM to simple_vm