A number of melon-headed whales have been found deceased in mangroves and along a beach near Broome, prompting wildlife authorities to issue a shark warning for the area.