Pakistan frees 669 men from radical group as it ends rallies