Rosamund Pike, left, stars as Sandy Crowder, Jon Hamm, right, as Mason Skiles and Dean Norris, not pictured, as Donald Gaines in “Beirut.”