Removes scheme from the tree, and selects an appropriate other scheme.
Throws an exception if scheme is not in this tree.