Remove a pair of pointless asserts.
Fix a register-ordering bug.

RRI (register-register-immediate) opcodes were having their source
and sink registers flipped before being written to a file; this
commit fixes that.