Problem is one can fall into binary responses to everything. (Trump did it therefore I oppose it, Trump opposes it therefore I support it, Trump nominates so and so therefore he is scum... etc.) I'm no fan of Trump but it was an opportune time to kill Soleimani given the actions of the IRGC conduct over the last year and the US responses to that conduct (until late last month it was very restrained -heck almost bent over backward restrained).
Sure my views may be colored by personal/professional experience but I definitely think killing him was the right decision and was in the best interests of the United States.