EXECUTION VERSION AMENDED AND RESTATED SERIES B PREFERRED SHARE PURCHASE AGREEMENT dated as of December 15, 2006