Secretive branches of the military’s Special Operations forces have increased counterterrorism missions against some of the most lethal groups in Afghanistan and, because of their success, plan an even bigger expansion next year, according to American commanders.