ref_remove_duplicates(): avoid redundant bisection