Remove SWI and IRET instructions