Republicans and Trump advisers have been quietly drawing up plans since the election to erode some of the job protections and benefits that federal workers have received for a generation, starting with a hiring freeze Trump has pledged to put in place in his first 100 days in office.