Combines redundant branches of `emit-operand!`.