RBTree: removed redundant type constraints