bintree: fix clear operation; allow collect of empty tree