Delete unreferenced global identifiers.