Private equity firm TPG and its partners are making moves to buy two downtown New York office buildings at heavy discounts to what their sellers had paid and plan to convert the properties to residential use as the area’s office demand rebound trails midtown Manhattan neighborhoods.