Teammates rubbed Dustin Pedroia’s head after he scored in the first inning.