Plans to build affordable homes in Coundon have been approved by Durham County Council despite objections being raised by neighbours.