Prime minister's promise to ‘level up’ school funding would cost more than he said, new analysis also finds