The National Audit Office says a £35m pilot to test the expansion of free childcare in a few areas was cancelled.