A suicide bomber detonated explosives near Afghanistan’s election commission headquarters in Kabul on Monday, injuring at least six people, officials said.