ir_algebraic: Support other comparisons in ir_unop_logic_not