I believe your vet is wrong about sugars and dairy. Herbivores generally lack the ability to properly process dairy, and sugars can significantly disrupt the balance of flora in the gut. I understand the need to try to get an ill guinea pig to eat by almost any means possible, but this doesn't seem like a very good recommendation.
At any rate, I'm so sorry you are going through this with Nibbles.