Iraqi PM: Will work to restore security