Perform optimization only on integer modes.
Adapt ir_is_optimizable_mux to recent Mux optimizations.