The company said in a memo sent to its employees on Tuesday that the layoffs would be based on performance ratings.