Investment firm Thoma Bravo completed its acquisition of Medallia for $6.4 billion, or $34 per share.