Ich has a life cycle.
The infectious stage where there are the visible signs of infection, the white spots, is a stage where the ich parasite cant be killed. Your fish will either survive this or not, regardless of any treatment. After this infectious stage, the parasite leaves the fish and goes into the water and then the substrate to reproduce. Once its reproduced the parasite will go free swimming back into the water to look for a host fish.
Its only during this freeswimming stage that the parasite can be killed.
The time it takes for the parasite to go through this life cycle is dependant on water temperate. At 30C it takes about a week, at typical tropical aquarium temperature about a month, and at temperate water temperature 2 or 3 months.
What you have seen is the parasite leaving the fish. Its not necessarily dead yet. Its important that the treatment is still in the water when the parasite goes free swimming so it can be killed off, otherwise it will just find a fish host, reinfect it, and you are back at square one. Ensure you keep up the higher temperature and treatment in the water for another 3 or 4 days after your fish is clear of visible infection to ensure the parasite is killed off and your tank is clear of infection.
I should also raise that you bought infected fish. Ich doesnt spontaneously appear. In future, knowing the store is selling ich infected fish i would be careful about more fish from the same store. Consider quarantining new fish for a couple of weeks before adding them into your display tank to avoid reintroducing ich into your tank.