I have not had to deal with this personally (thankfully) so I can only relay info that I can find.
I would still separate the females just to make sure that it is bent spine and not TB. Being away from males trying to constantly mate with them will relax them a bit too. If any of your males are showing signs then it is definitely TB. Make sure that you are washing your hands thoroughly after contact with the water.
The only information I found with cleaning a tank that had tb were all empty. The fish were put down before cleaning. So you should 100% make sure that it is tb.
All of them suggest running bleach In the tank for a few days before letting it dry and using vinegar to finish cleaning.
One person suggested a UV