How the GOP's 'folk libertarians' and 'cynical irreligious right' clashed in the midterms: historian