HC quashes PSA detention of Shopian man