surgical management of a miscarriage