Delete inactive rbt parents while deleting children
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.
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.