fold constant if expressions (potion-only)

short-cut constant if/elseif/else expressions. Note that a value is only constant
if op.b is nil