Following a leadership transition, the fast-food chain is preparing to close hundreds of locations amid a five-year low in sales.