US President Donald Trump has signed an executive order that will make it easier to dismiss thousands of senior federal employees.