Yahoo’s recently fired chief operating officer left the internet company with a severance package of $58m (€42m) even though he lasted just 15 months on the job.