Ex-Afghan prime minister killed