House Speaker Paul D. Ryan and other Republicans urged President Trump not to rescind the Obama-era program that has allowed hundreds of thousands of immigrants to stay in the country legally. Some fear his decision, expected Tuesday, could be damaging for the party.