Three killed in J&K gunfight