3 terrorists killed, one surrenders in Shopian encounter