US vetoes UN resolution on foreign militants, including detainees in Syria, Iraq