Beyond the advice already given above, you could try, if they are eating, to soak the pellets in a 3% Epsom Salt solution. This means a table spoon of Epsom salt in a half litre of water.
With the soaked pelletes, the epsom solution stays in the gut and generally works wonders.
Do it for 10 straight days....
This will help with the IPs. Good suggestion Miguel.