It sucks big time on the other hand that's the cost of getting good rides!!! Nothing breaks at home :)
You probably already know all the tricks. Duck diving and such, takes longer to waterstart but better to waterstart away from the breaking zone unless you know or can see you are in a wave lull. I think breakage happens when the gear isn't set up correctly in relation to the wave. Drive the mast tip into the wave. Hold the back strap and the boom, etc. There are various options depending on the wave size / power.
Be more alert when in a wave breaking zone, more active, try not to stall, maybe time the sets, etc.
Doesn't have too be powerful to be gear-munching material, just needs to be shallow!
I duck dive less unless if it's about to close or if it's a powerful day but it's just taking chances basically.
If you are on Neilpryde RDM's then you can switch to Ezzy sails and keep your masts, I think they'd work. I have found that using an Ezzy mast in a Neilpryde sail made the sail lighter and less heavy. But the opposite may not be true. Need to test.
Also, you could sell your gear obviously. The cost difference may not be that much.
Here is my vid on crossing white water, duck diving, grabbing the mast for fast water starts, keep your sail high if waterstarting, etc.
Hope some of this help you. I realize that some brands are better at resisting breakage, but if you enjoy a certain brand of type of sailing then being active and setting up gear correctly when falling or just leaving the shore can increase lifespan of one's gear too.