Exclusive: Thoma Bravo nears agreement to turn software firm Medallia over to creditors, sources say Reuters