U.S. egg farmers would give hens twice as much space as they now have under an agreement with an animal welfare group on July 7 that would be written into federal law and end years of state-by-state battles. It would be the first federal law on treatment of animals on the farm, said the groups.