Treatment of infertility associated with endometriosis