The Ninth Circuit holds that bankruptcy courts have authority to recharacterize debt as equity