isl_space_drop_dims: take into account overflow when checking indices