The government does not hire attorneys to represent terrorists. Government lawyers are there for only one reason. To represent the government.
The DOJ can hire whoever they want as attorneys. There's always a conflict of interest with government attorneys. You pledge to uphold the constitution but rarely is that what they're actually doing.