Hi Jake glad to hear he is doing much better. In my experience, yes it was the de-parasiting that made him dehydrate. This is what happened to mine and no matter how much he drank or I sprayed he always had orange urate.
Now just wait. If it keeps working, he will start passing some huge urates as the worms are loaded with water. My ambi passes some urates that are 1/2 to 3/4 inches long. Now he only goes about once a week if im lucky but they are pure white and very long. Its hard to understand for us, with not so much exp, but when on medication they really should be eating very hydrateable foods and not Cricketts and Superworms like you and I were feeding.
We all learn from our mistakes and it sounds like you are on the right track now.
Also glad to hear you found his eye problem out. Good luck with the little one.