range package:non-empty

The default implementation causes quadratic runtime on nested index tuple types. This affects the index function, too.