NBC: Family Dollar to close almost 1,000 stores