A champion of post-colonial countries and controversial figure, an ailing Abdelaziz Bouteflika has stepped away from a bid for a fifth term as Algeria’s head of state.