Judge rules Oracle failed to produce crucial emails