The results for Joe Biden’s Democrats amount to the best midterm performance for a sitting party in 20 years.