US strikes $1.2B deal to pay German firm to halt offshore wind projects