Heineken has bought United Spirits' remaining stake in India's United Breweries (UB) for INR8.72bn (US$137.2m).