Former president Donald Trump described his domestic opponents as “vermin” that posed a greater threat to the United States than countries such as Russia, China or North Korea, drawing rebuke from historians who noted his language parallels comments made by authoritarian leaders.