Union education minister resigns