For a time, it seemed as if employers were losing every class-action lawsuit filed by hungry lawyers on behalf of one or two named employees. It almost became a legal cottage industry. But now courts are losing patience with some of these lawsuits—especially when the attorneys get sloppy.