Caerphilly council agree to divert a public footpath away from Ruperra Castle despite objections from residents.