fix `_.removeAt` with repeated indexes