Wind energy tax-credit extension part of 'cliff' deal