Fix factorization for symmetric tridiagonal matrices