Struggling U.S. pharmacy chain Walgreens Boots Alliance (WBA) has finalized a deal that will see it bought by private equity ...