Union leaders and Democratic lawmakers say the move would run afoul of a law adopted under President Trump’s first term.