BENGHAZI, Libya — The rebel government here has dismissed its entire cabinet in the wake of the unsolved killing of a powerful military leader, who was slain almost two weeks ago after he was ordered to appear before a board of inquiry about his handling of the war effort.