Plea deal spares killer boyfriend's life