NEW YORK — Two New York City hospitals have reached a tentative contract agreement with thousands of striking nurses that ends this week’s walkout that disrupted patient care, officials announced Thursday. Nurses for both hospitals were to return to work Thursday morning, the union said. The agreements with both hospitals include concrete, enforceable staffing ratios, the union said.