Apple to allow third-party app stores in Brazil to settle iOS case with regulator