Fighting results in deaths of 21 soldiers in Taliban stronghold, where government has lost control over four districts.