Dollar General Corp. will pay the government $12 million and make "systematic" safety improvements at its 20,000 stores to resolve hundreds of violations issued by the Occupational Safety and Health Administration since 2022.