Dollar General settles federal allegations by agreeing to improve safety in its 20,000 discount stores nationwide.