Ileal resection in the operative treatment of endometriosis.