A tsunami warning has been issued for nine countries following the magnitude 8 quake