White House officials say they are considering leaving no American troops in Afghanistan after the end of combat in December 2014, although the administration remains committed to preventing the country from becoming a haven for al-Qaida.