McDonald’s might never expand CosMc’s. But the spinoff could still pay dividends