For beleaguered US president, facing impeachment and criticized over Syria pullout, raid that killed Islamic State leader couldn't have come at a better time