Rebels who seized the capital of the oil-rich Unity state in South Sudan carried out targeted killings against ethnic groups, according to the United Nations.