I suggest you do 2 things. 1) move the remaining ones into a smaller container, 2-4 gallons with a heater and bubbler if possible. 2) Perform a WC to get those nitrates way down to around 20 and after that do weekly WCs of like 10%.It’s own system. 5 tanks total about 50-60 gallons
I am confident that if you do a big enough WC and or even a new batch of fresh saltwater, they will stop dying. Maybe it is not the nitrates but something else that is accumulating and causing them to die. Could be a heavy metal, nitrates or even ammonia if there isnt adequate bacteria. If the berghia were not dying at the beginning and only started dying some time later, then it most probably is an accumulation of something that is bad for them.
Now i am no expert but from the research ive done, i have noticed that pretty much everyone has success in smaller containers which is why i suggested that you do that.
My 2 cents. If anything happens please update me! Goodluck.