On TV, the outcome of the midterm elections became clear early on. Pundits celebrated and grieved by turns.