In the unanimous ruling, the court cleared the way for a chain of crisis pregnancy centers to challenge a subpoena from New Jersey’s attorney general.