Fix Issue 12731 - Infinite range slices are not themselves sliceable

https://issues.dlang.org/show_bug.cgi?id=12731