shrink_to_fit

void libsemigroups::congruence::ToddCoxeter::shrink_to_fit()

Release all memory used to store free cosets, and any other unnecessary data if the enumeration is finished.

Otherwise, it does nothing.