Dam breaking by wave-induced erosional incision