BUG: Further back-compat fix for subclassed array repr #10674
This special-cases 0d arrays so that, only for 0ds, we extract scalars using the ndarray
This way we avoid the infinite recursion for subclassed-0d arrays that return 0ds instead of scalars when indexed, yet still pass subclassed-0d values on to the formatter functions when printing n-d array elements.
This PR does break two tests involving 0d-subclass-object arrays added in #10544, but those failed anyway in <1.13 and 1.14.0. That is,