Chad has ended its defence cooperation pact with France - a move that could see French troops leave the country as the former colonial power's influence across the Sahel collapses.