Better "matrices not aligned" message

This is numpy#4985 merged into numpy#4969.
`exit` is an identifier reserved by the C standard, hence `end` :)