The measure seeks to prevent the use of US taxpayer funds to assist undocumented migrants, the White House confirms.