UnionfindSourceAn imperative implementation of partitions via Union-Find
Paths are compressed imperatively at each lookup of a canonical representative. Each union also modifies in-place the partition structure.
Nota: for the moment we use Pervasive's comparison for choosing the smallest object as representative. This could be made more generic.