The military launched two warplanes in eastern Syria, by order of the president, targeting Iranian-backed militias in retaliation for a rocket strike in Iraq that left several Americans injured.