UN shuts southwest Pakistan offices after Qaeda threat