Protests that brought hundreds of thousands onto the streets in Algeria over the past month led President Abdelaziz Bouteflika to scrap plans to run for a fifth term.