Plea deal lets killer avoid death penalty