Plan to build 23 affordable homes in Scotton rejected