[Numpy-discussion] trace does not behave as advertised on arrays of rank > 2