A California defendant is expected to get life in prison without parole after pleading guilty Thursday to first-degree murder in the 2016 shooting death of a sheriff’s deputy.