Rodriguez wins district attorney race over Guerra