City officials agree not to demolish site linked to Underground Railroad