173 UP villages flood-hit; more than 4,000 people shifted to safer locations