It's important to note that there's clear distinction in Saṁskṛta b/w the terms for abortion and miscarriage, the former being deliberate termination of pregnancy while the latter being involuntary termination of pregnancy . Abortion is usually called garbha- (hatyā/vadha) or bhrūṇa (hatyā/vadha), and miscarriage is known by names such as - sraṁsana (as in Gautamadharmasūtra 2.5.15), or garbha- (srāva, pāta,..). In Mitākṣarā on Yājñavalkya smṛti (3.20), Vijñāneśvara states that - miscarriage is called srāva till the 4th (month of pregnancy), pāta for the 5th & 6th (months); prasūti from the 7th (month) onwards, while in the 10th (month) it's sūtaka. (ā caturthād bhavet srāvaḥ pātaḥ pañcamaṣaṣṭayoḥ / ata ūrdhvaṁ prasūtiḥ syād daśāhaṁ sūtakaṁ bhavet). Although abortion is a pāpa yet miscarriage is not so, as per śāstras. However, a mother does enter aśauca as a result of miscarriage and has to undergo śuddhi (garbhamāsasamā rātrīḥ sraṁsane garbhasya - Gautamadharmasūtra 2.5.15).
Suśruta saṁhitā cikitsāsthāna (15.3-11), supports abortion when the life of the mother is at stake and endeavors to protect the life of the mother at all costs, in such critical case. However, Suśruta doesn't go into a dharmaśāstrika discussion of whether such an act would be pāpa (or not) on the part of the vaidya & mother, under the said circumstances. Instead, he takes up this issue from an Āyurvedic perspective. So, even if dharmācārya(s) disagree with his opinion on this matter, what Suśruta says (here) would be valid for a medical practitioner, because he's taking the recourse to abortion only under extreme circumstances, and not otherwise.
Also, Suśruta saṁhitā is one of the foremost prāmāṇya Āyurveda (cikitsā)śāstras. As per sūtrasthāna (1.1-2), Dhanvantarī himself took avatāra as son of Dhanvā and his descendant Kāśirāja Divodāsa gave upadeśa on Āyurveda to R̥ṣis such as Aupadhenava, Vaitaraṇa, Aurabhra, Pauṣkalāvata, Karavīrya, Gopurarakṣita, Suśruta, etc.
Āyurveda is also an upāṅga of Atharva Veda (sūtrasthāna 1.6).
Suśruta says, "There's nothing as difficult as the delivery of a fetus astray in the womb, for her... the job must be done 'by feel' ... by one hand, without injury to mother or fetus (if possible). (nāto'nyāt kaṣṭamam .....cāhiṁsatā - 15.3). He continues : "If the fetus is alive, one should attempt to remove it from the womb of the mother (alive)" (jivati tu garbhe sūtikā garbhanirharaṇe prayateta - 15.5). No doubt is left as to the ideal to be striven for : the safety of both mother and child. However, if the fetus is dead (mṛte garbhe), it may be removed by cutting (and disembering, if necessary), as per 15.9. The śāstra then considers the situation in which the live fetus cannot be safely delivered. In this event, it forbids removal by surgery, "For if (the fetus) be cut one should harm both the mother and the offspring" (dāryamāṇo hi jananīm ātmānaṁ civa ghātayet / aviṣahye vikāre tu śreyo garbhasya pātanaṁ / na garbhiṇyā viparyāsas tasmāt prāptaṁ na hāpayet- 15.10-11). In an irreedeemable situation, it's best to cause the miscarriage of the fetus, for no means must be neglected which can prevent the loss of the mother (and protect her from harm). Abortion then is the last recourse when it's clearly a question of weighing life against life - the life of the mother against that of the fetus.
(Lipner, 1989, pg. 49-50).