Displaced Palestinians leave one of Gaza's main hospitals after weeks of being isolated by fighting