Replace EcoreUtil.delete with ModelAccessor.eDelete