They're already hard. They won't spread apart because they're in a hole.
With a sheer-thickening fluid, when sheer force is exerted on it, the entire collection of fluid affected by that force hardens in reaction so it would be like running over the top of a bag of hardened concrete.
I also like the idea that the bag could be coloured to assist cyclists in avoiding them..