Gen. Milley: Afghan collapse was foreseen, US credibility damaged