A stretch of the M1 at J27 was closed.