Summer raids on rights groups foreshadowed “terrorist” designation