Doctor sentenced to life in prison for botched surgery