Afghan President praises U.S. pullout