Sopore gunfight over, militant killed