New Zealand evacuating hundreds stranded after quake