David Hoare was asked to quit during a meeting with Justine Greening, the education secretary