The topology of isospectral manifolds of tridiagonal matrices