A federal judge in Chicago allowed a proposed lawsuit alleging McDonald’s misled consumers about the McRib’s ingredients to proceed, while dismissing some claims and leaving key allegations unresolved.