CLN: Specialize assert_(np.array_equal(...))

Work on #6175. This is the third (and final) "half" of the work started in #6368.
Merge pull request #6387 from bwignall/assert_6175_arrayequal_3

CLN: Specialize assert_(np.array_equal(...))