The A36 at Limpley Stoke is to be closed until spring 2025 to complete safety improvement works.