Residents flee Pakistan's border region ahead of offensive