sentence1: It decided to invalidate the smallest possible portion of the statute, excising only the viewpoint-based proviso rather than the entire exception of which it is a part.
sentence2: It invalidated a small part of the statute.