Fix index_tricks issue

Commit 5a471b5505e1e751e964cd3edade7db53a9596a9 caused an issue with ndindex, which did convert the incoming shape information into an extra tuple, which in turn corrupted the array interface.

The ndindex class now accepts both packed and unpacked tuples as shape information. Also, the nditer now returns an empty index for scalar values.