Emergency services were called to the A477 which had to be shut for two hours