EXECUTION VERSION FIRST AMENDED AND RESTATED SHAREHOLDERS AGREEMENT