In what could be the first spillover from France’s intervention in Mali, Islamist militants attacked and occupied a natural gas complex partly operated by energy company BP in southern Algeria on Wednesday. Two foreigners were killed and possibly dozens of others, including Americans, were taken hostage.