Walgreens Boots will pay $9.4 billion in cash for Rite Aid, and after acquired debt is included, the total value of the deal will hit $17.2 billion, it said