Massachusetts governor proposes that migrants in shelter be in country legally