An off-ramp from the M1 Pacific Motorway was closed for nearly 24 hours after a truck carrying a wide load became wedged.