Japanese brewer Kirin Holdings has agreed to buy up the remaining shares in Australia's Lion Nathan for A$3.3bn.