Lanes 1 and 2 were closed on the M4 westbound between J12 and J13 on Tuesday evening due to a collision.