A US federal judge struck down a Trump administration policy that sought to limit visa durations for foreign students and journalists. The ruling…