U.S. District Judge Yvonne Gonzalez Rogers in Oakland rejected Apple's bid to shield some employees from testifying at the hearing