Brain-dead girl can stay on life support, judge orders