Dems derided Trump’s midterm gamble — until he ended up winning big