Tuberculosis and scarring
That scar on the X-rays is likely a leftover from either a lymphadenopathy or a lung cavity. A lymphadenopathy is a swelling of the lymph nodes and appears in almost all patients, a lung cavity occurs in about half the patients.
Most people recover from tuberculosis with no further negative effects, but some scarring may remain behind in the lungs. The scarring you are asking about is likely caused by the lymph nodes:
The lymphadenopathy usually resolves slower than the pulmonary lesions, with no residual features. The nodes decrease in size after 3 months of treatment, though in some cases a paradoxical, transitory increase in size is seen in the first period of treatment. In one-third of cases, the lung infiltrates leave some kind of parenchymal scar, such as a nodule (tuberculoma), which can calcify forming the Ghon focus, or an area of fibrosis.
A parenchymal scar is a scar in the lungs. No surgery is done to remove it.
Tuberculosis and weight
Tuberculosis leads to weight loss and malnutrition. Weight gain is a positive sign that a patient is recovering from tuberculosis and the risk of a relapse is small. Weight loss indicates that something is wrong, for example with the liver.