Qatari cabinet green-lights permanent-residency law