Fix assembly code logic error.

  whenever we rewrite code from MIPS with the following pattern.

     cmp_branch ra, rb
     delayslot_update rb

  cmp_branch should use old value of rb.