More succinctly, this is Reductionism:
https://en.wikipedia.org/wiki/Reductionism#Theory_reductioni...
https://en.wikipedia.org/wiki/Reductionism#Theory_reductioni...
Either way, you have solved your original problem, but you haven't reduced your original problem. Your original problem was not that you had to go to Mcdonalds, nor was it that you had to got o the fridge. Your original problem was that you were hungry, which is distinct from the solutions.