Texas has moved in recent years to enact a near-total abortion ban across the state, with harsh punishments for those who perform them.