generalize and export isl_map_to_basic_set