Germany's parliament has passed an energy law that allows part of Russia's Nord Stream 2 pipeline project to skirt European rules that forbid one entity from be