Appeals court says judge may be ‘in the wrong line of work,’ vacates sentence for a second time