A federal judge has rejected much of a lawsuit challenging restrictions that Gov. Ron DeSantis and the Legislature placed on public-employee unions—but a fight will continue about a ban on deducting union dues from workers' paychecks.