Gen. Joseph A. Dunford’s first term as chairman of the joint chiefs ends next year, but odds that the Obama-appointed general gets a second term brightened Thursday after President-elect Donald Trump tapped fellow Marine retired Gen. James Mattis as Dunford’s new boss.