isl_schedule.c: simplify computation of number of constraints