Delete inactive rbt parents while deleting children

Ondřej Surý requested to merge ondrej/cleanup-rbt-parent into main

If we delete a node and its parent has been already deleted or never created and it doesn't have any .down nodes, we can also delete the parent and cleanup the memory used by it.

Merge request reports