London-based legal startup Lawhive has added $40 million to its coffers in a new funding round that attracted a diverse group of investors.