A police incident sparked the closure of the M8 motorway in both directions in Glasgow.