Hi, the pellet spilling might just be her nosing around in the bowl looking for the previous pellets if she liked them! I actually use two types of pellets just to give my piggies a bit of variety.
She is a hefty weight but it's true that if she loses a little bit day on day it can build up. My first thought on seeing the poops was mild gut disturbance - remove veggies - which you did. If she's been gobbling down 40ml of syringe food without resisting she's obviously still got her appetite! I bet she's still been eating on her own too. I'm not sure about Pedialyte - it's not something I've ever used. Their metabolism is different to ours. If I've wanted to encourage a bit of extra drinking I either make the pellet slurry very thin or use a tiny splash of apple juice in mainly water just to give it some interest - and I use a very small 1ml syringe so piggy doesn't accidentally inhale the fluid. If you get the all-clear to reintroduce veggies just do a little at a time at first.
If piggy is living as a pair or group she might be trying to get her healthy companion's poops to help her stomach settle. But if she is a lone piggy you might find a little probiotic helps to repopulate her gut. There is something called Fibreplex which comes in a big plastic syringe and we use this when we have a pig on antibiotics to try and help maintain the gut at this challenging time. Or we get a powder called Bio-Lapis from my vet to mix into the food slurry. They do prefer company though.
My fat fluffy girl Louise has quite variable poops. She had a bout of bloat in April which luckily resolved OK - she's been the first of my pigs to ever get this problem (and I've had 15 now altogether!) so I watch her carefully. It was actually triggered by a glut of fresh spring grass... all 3 were eating it but only Louise had a problem. They are usually pretty normal but there are bouts where they are a slightly funny shape or have little tails on. It doesn't seem to bother her but I just think she's a pig who was bred for her looks and perhaps that gives her a more sensitive stomach. Here's a pic - she's the one in the box - she loves her box. And yes, she's even got fat eyes!
View attachment 210297