Pakistan releases ailing Indian prisoner