Agricultural pollution in rivers has led to a halt on housing in areas along the border between England and Wales.