HP Takes Huge Quarterly Earnings Hit on EDS Write-Down