Democrats challenge judge's ruling on how to shrink Salem