Terrorist refused to surrender, killed in Kashmir encounter