Iraqi prime minister escapes attack