A federal judge in New Jersey ruled that two wage-and-hour suits filed on behalf of Uber drivers are subject to arbitration.