Thoma Bravo is nearing a deal to hand Medallia to its lenders. Analysts say the fallout goes well beyond one vendor's debt ...