The Department for Education (DfE) has come under fire from MPs over its handling of England's worsening teacher shortage.