Simple (& naïve - NAL) fix: Equal budgets for more equal justice.
If assets are frozen, require the prosecution to estimate what they will
spend prosecuting the case and to unfreeze assets of the defendants'
choice at least equal to the prosecution's estimate, to be allocated to
provide for the defendants' defense.
Let the court require weekly up-to-date accounting from the prosecution,
with a proviso that if the prosecution submits inaccurate reports or goes
over their estimated budget the case is decided in the defendant's favor.
Note also that a large percentage of convictions involve a defendant
pleading to a lesser offense.
If assets are frozen, require the prosecution to estimate what they will spend prosecuting the case and to unfreeze assets of the defendants' choice at least equal to the prosecution's estimate, to be allocated to provide for the defendants' defense.
Let the court require weekly up-to-date accounting from the prosecution, with a proviso that if the prosecution submits inaccurate reports or goes over their estimated budget the case is decided in the defendant's favor.
Note also that a large percentage of convictions involve a defendant pleading to a lesser offense.