Simple function for building ensembles of iterables that are disjoint partitions of an overall Cartesian product.