M4 and M5 safety enhancement work nears completion