Veris Residential Inc. has agreed to sell a Holmdel office building and a hotel in Jersey City for a combined $132 million, as it continues to shed assets outside the multifamily sector.