isl_map_intersect: fix error handling