Worker killed while 'trapped' in machinery, SC coroner says