gh-1076: Use array comparison functions from array-api-extra
#1083
+424
−566
array-api-extra
#1083