Heineken has finally sealed a shareholder deal in India with United Breweries.