One company was looking to add to its royalty stream and R&D portfolio. The other was seeking strategic alternatives in the wake of clinical misfires over the last few years. In an agreement aimed at satisfying both goals, Zymeworks Inc. will acquire Theravance Biopharma Inc., paying $17 per share, or about $929 million, though the transaction is structured in a way that minimizes the former’s current capital position.