Marriott announced that it would lay off more than 800 employees but said that it wouldn’t affect hotel staffing.