ISPN-2698 Some in-progress segment transfers are not cancelled properly during rehashing

StateConsumerImpl.cancelTransfers(..) was ignoring the currently iterated segment.