Worms’ sex life yields advantage over parasites