Judge halts action in Trump election case as prosecutors look to drop charges