Judge says Apple could renegotiate iBook contracts with publishers