BUG: ZeroDivisionError in scipy.sparse.linalg.lsqr

(cherry picked from commit 785e3961a685a351bd9d1e8eec0a62035cc4c6aa)