Woman admits she attacked ex-husband’s wife with a hammer while robbing their home