Medallia, a PE-backed software firm, is being taken over by its creditors after Thoma Bravo refused to inject fresh capital. Anurag Rana says this pattern will repeat for smaller software companies with weak market positions — but the large-cap leaders are insulated.