The Trump administration is engaged in a wide-ranging effort to slash government spending and reduce the number of federal workers.