It’s been a tough year for Samsung. The company has struggled to make its mark in the lucrative high-bandwidth memory market. Its foundry has been forced to shut down some production lines after racking up billions in losses. The memory business also faces intense competition from Chinese…