New Zealand all out for 624 in second Australia Test