Thousands flee North Waziristan offensive