A California federal judge issued a sweeping emergency order Friday night barring the Trump administration from threatening election officials with prosecution over suspected noncitizen ballots, just days before the Nov. 3 midterms.