AMENDED AND RESTATED INTERCOMPANY LOAN AGREEMENT between RBC COVERED BOND GUARANTOR LIMITED PARTNERSHIP as the Guarantor LP and ROYAL BANK OF CANADA as the Issuer and as Cash Manager April 6, 2011