Violence in NW Pakistan triggers exodus