[CRASH] Make GpuAdvancedSubtensor1 work with an empty list of indices.

fix gh-2065