Thailand to transfer prisoners to Pakistan