Police have been cracking down on rule-breaking drivers at a “gridlocked” Wiltshire town centre junction.