The deal comes as both grocers are zeroing in on price investments and upgrading their store experiences.