I’m confused by the term “indirect abortion”. Could you please tell me exactly what this means?

An abortion would be indirect if it were used neither as an end nor as a means. If a pregnant woman has a cancerous womb that must be removed, removing it would produce an indirect abortion. The child would die after the womb is removed, but the child's death would neither be an end nor a means.