Revert "Fix d2 rewrite bug"

This reverts commit 6af5eab423ccff9b9635dd913ad5c6c7c57be8d0.

RB=250849
R=osumampo,sihde,dhoa,si-dev,axu
A=dhoa
Bump pegasus version