Sauté the onions. Then purée with tomatoes and add to the chicken.

Shred the chicken and return to the instant pot to heat through.