ShuffleSampler harmonized with Sampler to use new BaseTensor:index(dt, indices) interface.