New Zealand says it has solved Covid outbreak 'puzzle'