What was a primary goal of nationalist leaders in newly independent states during the mid-20th century?