Competition promotes the evolution of host generalists in obligate parasites