Judge dismisses lawsuit challenging federal rules to accommodate abortions for workers