Samsung shares recover after Note 7 debacle