Spain’s Supreme Court has cancelled the rule allowing temporary residency to be withdrawn after six months abroad, bringing relief to many expats.