It's really quite simple. During the pre-game meeting with the captains, you TELL them that the 10-yard rule will be enforced with ONE warning, followed thereafter by cards for OBVIOUS non-compliance. Each team gets one warning ONLY. And you make sure the coaches get the message.
If you REALLY want that to eliminate the dawdling and encroachment, you make the penalty a yellow card to the head coach of the offending team.