Judge's ruling again questions legal validity of health laws used for pandemic restrictions