Remove useless unit instructions.