Walgreens may close up to 1,000 stores to seal Rite Aid deal