A decision to shut down flights across the United States on Friday was made after work being done to upgrade a copper communications wire to fiber optic cable caused a router to malfunction and overload parts of the system that enable data communication with planes.