MAINT: small error message change

This is an attempt to deal with https://github.com/scipy/scipy/issues/2664 but I can't figure out how to abuse `solve_triangular` in such a way that this exception is raised.