fix issue in indexed_array constructor (bad type forwarding leading to deep copy)

* cause bad nditerator behaviour as end() doesn't reference the same array than begin()