Changes to homeschooling and academies come in Labour’s landmark bill