US, New Zealand restore military cooperation