Analysis of failure in medical abortion