Gen. Joseph F. Dunford Jr., middle left, the chairman of the Joint Chiefs of Staff, and Gen. Mark A. Milley, middle right, the Army's chief of staff, at the Capitol in January. General Milley helped run a planning exercise for a war with North Korea last week, and General Dunford has argued forcefully for using diplomacy to address Pyongyang's nuclear program.