It would take a lot to convince me that they haven't been discussing this for years and have been waiting for the right time. The market is now loaded with others to do the delivery, which was probably one of the considerations. I'm sure another was how to announce it where they can blame someone else; at least to the point of ensuring some will defend them.
The minimum wage increase is their excuse. What they are doing is outsourcing their delivery to a 3rd party (GrubHub, Uber eats, etc). They wont have to pay them anything, the customer will. They are decreasing their head count, payroll, insurance, taxes, benefits, etc. They will lose some sales, but that wont even be close to their cost savings. They will easily make more money while selling their product at the same price. Any business would love to be in the same position.