Jose Mujica, the former guerrilla fighter who became Uruguay’s president, has died aged 89.