Former Kashmir chief minister released