A stretch of the M6 was forced to halt in both directions due to sheep wandering too close to the carriageway.