Trump’s war has achieved nothing while badly damaging his party. Don’t expect future presidents to follow suit.