Zimbabwe's former President Robert Mugabe was granted immunity from prosecution and assured that his safety would be protected in his home country as part of a deal that led to his resignation