A man’s 1170.5 petition requesting resentencing was approved