A Michigan federal judge said Tuesday she would extend an April order restoring foreign students’ terminated visa records after the students said they feared the administration could reverse course without a court order protecting their legal status.