A federal judge ruled the White House ban on several major news organizations unconstitutional and ordered their immediate restoration.