Carbochlorination of yttrium oxide