BAGHDAD — Iran carried out deadly cross-border attacks Wednesday in northern Iraq, targeting the headquarters of three Iranian Kurdish opposition parties who support the ongoing demonstrations inside Iran.