Wildlife workers in New Zealand have shot dozens of whales that beached on the country 's South Island .