The port town of Coquimbo was ravaged by tsunami waves after a powerful quake struck offshore, killing at least 12.