Fix infinite loop found with fuzz_simplify

ramp(cast(intimm), ...) was treated as a simple_const