I have K2 boots with the same insoles. I'm swapping them out for custom footbeds this year. Those look like they came apart during the heat molding process. My shop removed the insoles while heating them and only put them back in when the took the boots out of the over and I put them on my feet while still hot.
They also used the toe-caps when heat molding which really helped open up the toe-box for me. I love my K2 boots but I did find the toe-box too snug until they blew them out.