A fiery exchange in the House of Commons has highlighted concerns about parts of a new Bill, aimed at better protecting children in the education system.