Hagel says U.S. to leave up to 1,000 extra troops in Afghanistan