Introduce basic_table::destroy().

This deletes the tree structure completely (but not any of the
values).