Wang Zhilin's plan wasn't all that complicated, it was simply to claim that she was a mental illness sufferer. Her lawyer had been preparing evidence for this all along, and this was why, despite the tortures she endured, she never lost hope—because she believed there would always be a day when she would get out.
The more abject one's life, the more one yearns for brightness. The more Wang Zhilin suffered, the more she clung to this glimmer of hope. Thus, she cooperated with every suggestion from her lawyer, just waiting for the lawyer to rescue her!
As for Madam Wang, all alone outside the household, she was clearly having a much easier time. She returned to her maiden home where, although not particularly welcomed, she could at least be fed and clothed, and wasn't homeless. This made her quite content.