AMENDMENT NO. 4 TO REGISTRATION RIGHTS AGREEMENT