A multi-million defence system which will cut the risk of flooding to 200 homes and give better protection to a major Somerset road.