Walgreens willing to shed 1,000 stores on Rite Aid deal