At least 832 people died in the earthquake and tsunami that hit Indonesia, emergency officials say.