Embattled governments in Iraq and Syria have come to rely on Shiite militias as their armies have crumbled in the face of mostly Sunni insurgents and rebels. In Libya, various armed groups loosely allied with two rival governments have fought over bullet-riddled airports. Shiite rebels in Yemen have swept down from the north, capturing the capital and, on Tuesday, a key port city.