FOURTH AMENDED AND RESTATED RESALE REGISTRATION RIGHTS AGREEMENT