Investors have closed on their $3.5 billion acquisition of Veris Residential Inc., bringing the company private after its multiyear overhaul of a once-sprawling portfolio.