Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
What is the expiation for being forced to give a false testimony in order to achieve reform?
Achieving reform is done by following the way of Allah through giving back rights to whom they belong. Therefore, repenting to Allah from false testimony is only achieved by abrogating it, and the person in question should expiate for that oath if he had taken it, so that Allah may forgive him.
Is it permissible for a pious Muslim woman to stay with her husband who had quit praying out of laziness?
Quitting prayer is one of the major grave sins that come after disbelieving in Allah, but the wife of such a person isn`t considered divorced, rather, she should exert all her efforts in order to bring him back to the way of Islam. However, if his sin is likely to lure her from the way of Islam, then she had better separate from him by lawful means such as Mokhal`aa (When a wife pays a compensation for her husband in return for divorcing her). Moreover, if she exercises patience, and remains steadfast on her faith, then there is no harm in doing that.
Is it permissible to pay the Zakah (obligatory charity) for settling the debt of a deceased relative?
It is impermissible to pay the Zakah for settling the debt of the deceased since Zakah is paid to eligible recipients who are alive. As for the debts of the deceased, they are to be settled from the estate before dividing it amongst the heirs, but if the deceased didn`t leave an estate, then it is desirable for his/her heirs to settle those debts if they can afford them. And Allah Knows Best.