The move has sparked legal challenges and pushback from Democratic governors who say the president overstepped his authority.