Democrats flipped seven Republican-held Senate seats and reclaimed control of the House.