When Algerian commandos initiated a raid Thursday to free hostages being held at a remote natural-gas complex, it was apparently a surprise to the top levels of the Obama administration as well as America’s key international allies.