Immigration legislation intended to grant new power to states to block visas for foreign nationals is likely unconstitutional.