Senegal’s President Macky Sall on Monday ended months of tense uncertainty by saying he would not seek a third term next year, clearing the way for open elections in the West African nation, long considered a bastion of democracy in a troubled region.