WIP: Super-rough sketch of the final form of cmd_prune

This exposes a de-allocator bug in the vertex tree deallocator on
poorly formed models.