The hundreds of pagers that exploded on Tuesday in Lebanon and Syria had apparently been acquired by the militant group Hezbollah after the group’s leader ordered members in February to stop using mobile phones, warning they could be tracked by Israeli intelligence.