Gurkhas win right to live in UK