THIRD AMENDED AND RESTATED INVESTOR RIGHTS’ AGREEMENT