Much of the U.S. federal workforce is on edge and bracing itself for the likelihood its ranks will be purged when President-elect Donald Trump takes office.