The move is part of a reset in New Zealand’s foreign and defense policy as Wellington grows concerned over international security tensions.