A main road in the Vale of Glamorgan was closed for 12 hours after three people were taken to hospital