Trump’s fiercest GOP critic became his most influential voice on war and peace