Judge dismisses child endangerment charges against OC Democratic party leader