Under a judge’s new ruling, much of the federal government is now barred from working with social media companies to address removing any content that might contain “protected free speech.”