India has released 24 Pakistani prisoners detained for border violations .