How to calculate unique combinations from a multiset using Tcl