US confirms airstrikes in Syria, Iraq after early confusion