Judge dismisses charges against child-care provider