Use Updates page toolbar - Update cleanup - DISM Compatible, and it will do it for you in a polite manner.
Yes, it's recommended, but Windows will do it on idle in the background anyway over time, this is just if you want a bit smaller image.
Do it with the initial integration, not the subsequent sessions as updates/configs lock packages on an not yet installed image.