Black man convicted by all-white jury in room with Confederate flags gets new trial, appeals court says