Prosecutor drops appeal of man wrongly imprisoned for years