Add a routine to swap branch instruction operands, and update any