A group of private credit lenders led by Ares Management Corp. upsized their loan to a health-care software platform being acquired by Veritas Capital, leveraging a powerful clause that ensures the firm’s existing debt stays in place while the company changes hands.