Marion Co. man gets life sentence for killing sheriff’s deputy