Overpressured gas lines were the cause of fires and explosions in three neighborhoods north of Boston that killed one person, officials said.