The purchase of a house with provident fund loan has been completed, and it cannot be changed unless the repayment is applied in advance.
So in this case, you can only raise funds to pay off the loan, terminate the loan contract, and transfer the house to one party according to the divorce agreement.
Then let the housing party slowly return the funds it raised.