Officials at the Department of Education told staff that if they accept the Trump administration’s resignation package, the education secretary may cancel it.