A nationwide flight ground stop in the United States has ended after a five-hour disruption caused by technical issues with legacy equipment.