How was the Republic of Kawait formed?