Three militants killed in Shopian encounter; Gunfight over