Thousands flood back into northern Gaza