Obama congratulates former chief of staff