Democrats will reclaim control of the House, hampering President Trump’s ability to advance his agenda.