In his final days in office, President Barack Obama has decided to end a longstanding policy that grants residency to…