These are Federal charges in Federal courts, the "local electorate" has absolutely jack shit to do with their careers. The jury pool is an issue, I'll grant, but mistrial for withholding evidence doesn't require a jury verdict, only a judge's decision.
If the Republicans had balls, any judge who doesn't start treating the governments with more suspicion on failing to hand over exculpatory evidence should be expecting at minimum their careers are functional stuck, as they'll never get past the Senate for future appointments. Further, any judge who doesn't and ends up having a higher court overturn them DUE to exculpatory evidence being demanded in appeal that the government failed to provide on their watch should just be impeached and removed as incompetent.
That said, it is unlikely the judges will face any real punishment. That said, they also have no motive to go along with the party DC line as their jobs are not beholden to it. In fact, given how low opinions in DC institutions have fallen, in many respects judges might actually be motivated to hold the government MORE accountable than usual, since it allows them to look good compared to everyone else. Further, while they might be liberals or progressives the government failing to hand over exculpatory evidence is a HUGE two edged sword and the judicial branch has consistently had a longer term view on these things than the liberal and progressives in the other branches. As such the judges are much more likely to take the correct path here and push back on the prosecutional overreach, lest the shoe one day be on the other foot.