NEW YORK, April 22 (Reuters) - Private equity firm Thoma Bravo is nearing an agreement to hand over software firm Medallia to its lenders, wrapping up ‌months of restructuring negotiations, according ...