How many republics made up the USSR by the end of 1922?