The Evolutionary Interplay between Adaptation and Self-Fertilization