The U.S. military has confirmed that it shot down an unmanned Iranian aircraft over Iraq last month .