PolyLib backend: clean up simplification of constraints in cloog_equal_add
cloog_equal_add gets called when the lower and upper bound of a loop
are equal. When the bounds are constants, then they are rounded up/down
before checking equality. cloog_equal_add therefore needs to perform
the same rounding.
The original implementation was fairly complicated and apparently
had a bug (as witnessed by the walters test case that will be added later).
The new implementation does not have this bug.
Problem reported by Johan Walters <jwalters@compaandesign.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>