AMENDMENT NO. 2 to AMENDED AND RESTATED SHAREHOLDER RIGHTS PLAN AGREEMENT