Investment in key U.K. legal tech startups has nearly tripled since 2017, a new report from Thomson Reuters has found.