fn disconnect_children(node: &mut Inner)
Disconnects the given parent from all of its children.
Takes a reference to Inner to make sure the parent is already locked.