Senate moves to ensure illegal immigrants don't get federal benefits