Thank you for your service,' Halifax judge tells veteran suffering from PTSD