A federal judge on Monday cleared the way for women who work for Cook County to jointly pursue claims that they are subjected to “masturbation attacks” by men detained in lockup facilities.In separate written opinions, U.S. District Judge Matthew F. Kennelly certified classes of plaintiffs in two lawsuits filed against the county and the sheriff’s office.One suit was filed on behalf of assistant federal …