The Islamists switched to deploying groups of gunmen.