Top U.S. military generals grilled on Afghanistan withdrawal