Because the trial court partially denied appellant’s Penal Code section 1172.1 resentencing petition before the enactment of Assembly Bill 1540, which requires the court to apply any changes in law that reduce sentences and created a presumption in favor of resentencing when the request comes from the CDCR, the Court of Appeal remanded the matter for further proceedings in compliance with the amended legislation.