HP takes $8.8 billion writedown on Autonomy