At least 31 pilot whales have died in a mass stranding in Western Australia but experts and volunteers successfully managed to help over 100 others off the beach.