After Niger’s coup, the junta quickly scapegoated France, which had troops fighting jihadists in the country.