The point is you shouldn't plan on signing players with the intention of burying them. Because that's assuming they will remain buried or even get buried in the first place.
You don't get full relief unless the cap hit is extremely minor. In your scenario Janmark would still carry a $50k cap hit assuming the minimum contract floor doesn't go up. If he signs for a bigger contract... well, you can do the math.
2024-25: $775,000 + $375,000 = $1,150,000
2025-26: $775,000 + $375,000 = $1,150,000
I'd rather just not have a cap hit of any kind.