Those swept up in mass arrests of demonstrators in July faced punitive bail terms and draconian charges under terrorism laws