Text this: OpenText sells legal automation unit for US$163M as it restructures for AI.