eBay has settled a lawsuit with the U.S. Justice Department, agreeing to stop making deals with other technology companies to not poach employees.