At issue is whether the president has the authority to dismiss the heads of those agencies that are protected by Congress.