The new complaint is aimed at changes the Trump administration would make to shift significant functions from the department to other federal agencies.