how long after the miscarriage can you go home from the doctor