CINCINNATI — The Kroger Co. has terminated its $24.6 billion agreement to acquire Albertsons Cos., announcing the move hours after its merger partner said it exited the deal.