NYC migrant crisis easing, but shelter system could take years to stabilize