Support a[b] indexing when b is multidimensional.