There is no need to induce vomiting
in this instance.
If the soup had been cooked thoroughly, then the worm poses little risk. Additionally, the risk would be greater had you ingested the worm, which you didn't. More distressing would have been if you found half a worm at the bottom of the bowl!