Fix dimension comparison bug in d3::space::traverse::get_next_split()