Sentence upheld for soldier who killed Palestinian