UN court upholds life sentence for Republika Srpska general