It was good preventative maintenance. At some point every unit is going to fail. How and when it fails....and where you are at the time determines the severity of that experience. For me.....it failed while parked and I had some prior warning. About as good as it gets. However others have had it fail with no apparent warning while driving. And in some cases this occurred at highway speeds in heavy traffic.
Our LX is my Wife's Daily Driver and it would not be good for her to suddenly have no brakes. In actuality....you shouldn't completely lose your brakes, but the loss of 'boosted' brakes is nearly the same thing since most folks can not press the pedal hard enough (unboosted) to bring the vehicle to a stop in a reasonable distance.
IF there is a Silver Lining to this....the entire ABS unit/Booster has recently dropped significantly in price. And once replaced....should give good service for many years to come. So IMO.....you did the right thing.