isl_map_is_rational: fix error handling