The venture capitalist Peter Thiel and Soros Fund Management have teamed up to invest $27 million in the electronic bond trading start-up TruMid Financial, one of several firms that have emerged to push for automation in the multitrillion-dollar bond market.