Method and apparatus for endometrial ablation