Militants and allied criminal gangs have long exploited the areas around the vast, desert border between Mali and Niger to launch attacks, even after a French-led military intervention pushed insurgent groups back from northern Mali in 2013.