A dolphin is to undergo surgery in Australia after it was left with huge lacerations across its back after being attacked by a shark.