The Trump administration has eliminated a protection that lets immigrants remain in the country and avoid deportation while they or their relatives receive life-saving medical treatments or endure other hardships, immigration officials said in letters issued to families this month.