Substitutes new for subtrees for which test is false.
(sb-impl::new sb-impl::test sb-impl::tree &key sb-impl::key)