The first-in-the-nation ban will take effect as scheduled on Aug. 1. Judge says timing of suit suggests “harm is not ...