DHS has appealed a court ruling blocking it from restricting how long international students and postdoctoral researchers can remain in the U.S.