In a setback for Planned Parenthood, the appeals court reversed itself.