The agreement avoids what could have been a damaging strike for Samsung and the tech industry amid shortages in the memory chip sector.