Modified RadixTrie delete to restructure the nodes when deleting, not simply unset the value from a node