A section of motorway will be closed in both directions while contractors dig a trench