It was the fifth such deal struck by the administration to get companies to drop offshore wind projects.