If forgers and malefactors are put to death by the secular power there is much more reason for excommunicating and even putting to death one convicted of heresy.
God created the family to provide the maximum love and support and morality and example that one can imagine.