remove non arc instructions