I've had this problem on Dartmoor a few times and as there are not many walls/hedges i have found the best way is to wave something like a coat or shirt , I once did it with a small camera bag , at them and shout while walking towards them. I have found this makes them back off. The reason they are coming towards you is they think you are the farmer with feed for them.
Peace , Lubin