Fix for #803: make clearer *which* nested arrays have unequal length.

This is an implementation of the suggestion made in #803. Please note that the two new unit tests may make obsolete part of (but certainly not all of) PR #804.
I think this deserves a comment. Something like "Only include the user-provided message in the outer exception"