Australia take massive 417-run lead in day-night Test despite New Zealand’s late burst on day three