FIRST AMENDMENT TO AMENDED AND RESTATED CREDIT AGREEMENT AND BORROWING BASE REDETERMINATION