[index] Change the condition and asserts in R*-tree redistribute_elements nth_element