The ruling marked the second major setback in recent weeks for the anti-abortion group, the Center for Medical Progress.