Push LIR's comparison op closer to X86.

X86 supports immediates only in the first operand of a `cmp`.  Make
echoes work around this restriction.