South Korea recalled its ambassador from Ukraine following an escalating diplomatic row over the public transfer of North Korean prisoners.