Biden officials should restrict contact with social media firms, judge rules