Diversion routes were put in place as both north and southbound carriageways of the M5 remained closed while investigations were carried out