util/rb_tree: Replace useless ifs with asserts