Judge orders 13-year-old to undergo cancer treatments