Athletes aren't politicians. Banning the team just screws over regular people for stuff their government did.
While it's tough on the athletes, they still represent their flag. Letting them play gives the government a global PR win, which undermines international accountability.