Mozilla Corp. has agreed to settle allegations it refused to hire a former Apple Inc. software engineer because of her prior labor activism.