Four pilot whales have died in a mass stranding in North Zealand but rescuers have managed to return more than 30 others to the ocean.