Mendoza and his codefendant, Valle, were charged with murder committed during the course of a robbery, in violation of Penal Code section 189. The defendants were also charged with the robbery, and a special circumstance that the murder was committed…