Deloitte agrees to $38 million settlement in Delphi case