Schools will be given compensation to cover the Government’s planned increase to national insurance contributions paid by employers, the Education Secretary has said.