BUG: linalg: fix infinite loop in eigvals()

Fix Trac #396 again (test exists)