isl_tab_basic_map_partial_lexopt: better exploit partial solution cache
In 4fff507 (isl_tab_pip: keep cache of partial solutions,
Fri Oct 16 14:46:28 2009 +0200) we introduced a cache of partial solutions
so that we could attempt to merge them before adding them to the result.
The merging happens during backtracking, however, and once we reached
the end of the search tree, we would not backtrack back to the root anymore.
We now do track back to the root of the search tree such that partial
solution in the final part of the search tree could also potentially
be merged. We only do this if there is some chance that we may find
identical partial solutions since the rollback of the context tableau
does not come for free.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>