The National Housing Federation said the closures reflected declining demand for services in villages where local families had been priced out of the area by wealthy commuters, pensioners and second-home owners, while too few new homes having been built.