The move does not repeal California’s death penalty or prevent prosecutors from seeking it in future cases.