Walgreen on Wednesday said it would take over the British pharmacy retailer Alliance Boots but would not, after all, move its headquarters overseas to save on taxes.