I could be wrong, but I seriously doubt that the PO4 problem is a result of the flatworms dying. It is more likely a result of something else in your system, such as top off water. Do you have the Hannah calibration fluid (standard fluid) for the ULR checker? It is set at 100 ppb and will tell you if your checker is measuring within tolerance. Without a different test to confirm your readings, there could be errors and you could actually be stripping to much PO4.
Looking at some of your other threads, it seems like you are chasing a lot of parameters and changing a lot of what you add to the tank. A 230 gal system should be pretty stable based on the volume unless you are heavily stocked, which it doesn't seem like you are. Your salinity has gone from 1.030 to 1.024 in a couple of weeks, which by itself, shouldn't be a problem. However, you started dosing recently, added reactors, added bacteria, lost a couple of fish, ridded your tank of flatworms etc.... That all seems to have happened in the last month and a half based on your threads. I like to change one thing at a time if needed, and then wait a month or two to see the results and let the tank adapt.
I would recommend an ICP test, one of the on BRS tests your RO water as well. This should give you a good set point to work from. Then, take it slow. Your corals can recover if you don't keep changing a lot of things.