Ottawa softens hardline stance on medical treatment for refugees