Added an optimization for ramp(5*x, 1, 5)/broadcast(5) and similar