The owners of a New Zealand volcano island where 22 tourists and local guides died in an eruption have had their criminal conviction for failing to keep visitors safe thrown out by a judge.