The court said federal judges overreached by stopping executive orders nationwide.