The Court of Appeal reduced a minor’s maximum term of confinement at DJJ by one year, finding that the minor was entitled to the ameliorative benefit of amended Welfare and Institutions Code sections 730, subdivision (a)(2) and 731, subdivision (c), which states that a juvenile court “shall not commit a ward to the Division of Juvenile Justice for a period that exceeds the middle term of imprisonment that could be imposed upon an adult convicted of the same offense.”  (Welf. & Inst. Code, § 731, subd. (c).)