Fix miscompilation caused by trivial logic error in the reassignVReg()