Lifers sent to mental hospitals can claim benefits after tariff ends