Councils reverse course on agreed plans after targets diluted despite acute shortage of homes