Gulf Arab leaders seal anti-terror pact, welcome power transfer in Iraq