Samsung Heavy Industries said on Wednesday it has decided to scrap a $2.5 billion stock deal to take over Samsung Engineering, potentially…