Use concrete typing on the indexes tuple for SubArray construction

This works around bugs due to #8504.