The EU Commission has agreed new rules to limit the spread of a deadly disease that has killed millions of piglets in the US.