Judges extend orders against deportation flights, including wartime act on violent gang members