Education secretary also faces criticism over use of attainment-gap funding to compensate for local budget cuts