Indonesia rushes in aid as death toll from quake, tsunami passes 840