Judge orders Trump administration to restore websites after changes made behind executive order