New Zealand resumes maritime patrols over Niue, Cook Islands