Scramble for survivors after Afghan earthquake kills more than 900