Ett landsomfattande markstopp i USA orsakade över 16 000 inställda flyg på grund av ett routerfel under underhåll av infrastrukturen.