After six days of intensive negotiations, Taliban insurgents and U.S. officials meeting in Qatar appear closer to an agreement that could result in the withdrawal of American troops after 17 years of war.