Mandela leaves hospital following treatment for stomach complaint