AMENDED AND RESTATED AGREEMENT AND PLAN OF MERGER by and among Abraxas Petroleum Corporation, Abraxas Energy Partners, L.P. and Merger Sub, as defined herein Dated as of July 17, 2009