isl_map_simplify.c: uset_gist_full: check for redundant constraints in order
isl_map_simplify.c: uset_gist_full: check for redundant constraints in order

In particular, the constraints of the input are sorted in the caller
to favor constraints that do not involve existentially quantified
variables over those that do.  However, when checking which constraint
is redundant with respect to the other constraints in the sense that
the negation results in a contradiction, the first constraint would
be checked first.  This means that if two constraints are mutually
redundant, the first would end up getting removed.
Moreover, the shifted constraints are removed first and this
may result in some constraints changing position to fill up
the position of the removed constraints.

To avoid the reordering, do not remove the constraints immediately,
but mark them for removal first.
Additionally, consider the constraints from least favorable
to most favorable instead of the other way around.

Signed-off-by: Sven Verdoolaege <e5350bbed4977f5eb8ae1dc6abd9ae59d21ace75@kotnet.org>

UBERTC/isl,Distrotech/isl,Meinersbur/isl,Distrotech/isl,tobig/isl,tobig/isl,nicolasvasilache/isl,BenzoSM/isl,UBERTC/isl,PollyLabs/isl,BenzoSM/isl,PollyLabs/isl,Meinersbur/isl,PollyLabs/isl,inducer/isl-mirror,Distrotech/isl,BenzoSM/isl,PollyLabs/isl,nicolasvasilache/isl,tobig/isl,tobig/isl,nicolasvasilache/isl,PollyLabs/isl,Distrotech/isl,BenzoSM/isl,UBERTC/isl,nicolasvasilache/isl,BenzoSM/isl,inducer/isl-mirror,inducer/isl-mirror,Meinersbur/isl,Distrotech/isl,Meinersbur/isl,inducer/isl-mirror,inducer/isl-mirror,nicolasvasilache/isl,UBERTC/isl