Some cases were thrown out of federal court and the group’s lawyers were sanctioned for bad behavior.