Man pleads guilty of plotting to kill Homedale police chief