isl_aff_set_tuple_id: fix check for type of tuple that can be set