Pakistan favors no one in Afghanistan, COAS tells US