US General: IS Losing Its Grip in Afghanistan