Federal court clears way for Trump to fire Dellinger