German lawmakers backed an extensive revision of the country’s EEG clean-energy law to curb subsidies and slow gains in power prices that are the second-costliest in the European Union.