Clean unneeded instructions