The European Union’s executive arm announced plans on Wednesday aimed at stopping its countries from striking bilateral deals that cede too much power to oil and gas exporters like Russia.