A suicide bomber targeted workers queuing for their salaries outside a Pakistani bank and hotel, killing 35 people, as the United Nations pulled expatriate staff from the northwest.