The president’s firing of the state department’s inspector general will be investigated by Congress.