US enlists Pakistan as partner in war-torn Afghanistan