Reddit says it will join the S&P 500 on Aug. 18 in an off-cycle addition prompted by an existing constituent’s acquisition; shares rose about 12.6% after hours.