KdTreeCell: Fix lots of bugs related to iter_nonempty_cell formerly returning a Set