Tailoring Teaching to Fit the Class: Teaching Practice and Classroom Composition Under Random Assignment