Returns an ndarray of indices of minimum elements in a three-dimensional ndarray a over a given axis.