A dangerous rock mass at the top of the cliff was dislodged in a controlled blast amid fears of collapse.