Judge rips into teen’s ‘high-risk’ behavior before delivering decades-long sentence in violent robbery