Kangaroos survive late New Zealand fightback