Peavy Agrees to White Sox Trade