I didn't originally really read the OP, I was busy admiring the photos.

Now that I actually read it and Skiploader's comments, I wonder if the tail did not quite make it all the way into the stomach for digestion. And thus held the pyloric valve open for the stomach contents to empty.
If that's the case, the vomiting could be a good thing. A stuck tail could lead to compilations.