Citigroup to cut 9,000 jobs after posting loss