A long-running dispute between South Korea and Japan was reignited by a memorial for women who were sex slaves during World War II.