Nigeria has launched military campaigns against bandits in the northwest before and even sought amnesty deals to coax them to abandon hideouts deep in the region’s vast forests.