Remove instructions to create a swap