mat: panic harder for internal zero sized matrices than for user-created cases
Created by: kortschak
In #502, I wrote
I'd like to be able to differentiate zero values that the user has made from zero values that we've incorrectly passed into a routine and panic harder in the latter case, but this doesn't seem easily doable. I may come back to it.
This issue tracks that.