isl_dim_drop: properly adjust length of names array