Fixed opt_const handling of double invert with non-1 output width