A shark attack in Western Australia has claimed the life of a diver, marking the fourth fatal incident this year in Australia.