More legal setbacks for Apple