Tonga will face New Zealand after winning all three group matches, before Samoa face Australia in a repeat of the 2022 final.