Wife of ex-judge confesses in Texas DA slayings