The first prime minister of Senegal, Mamadou Dia, who has died aged 98, was at the centre of his country’s first major post-independence crisis.