Stone Energy Reaches Bankruptcy Deal with Shareholders