An EU regulation banning the direct sale of untreated eggs from farms where salmonella has been detected has come into force from 1 January - a year earlier than originally planned.