Senegalese President Macky Sall made the announcement just hours before official campaigning was due to start.