I think Pompeo's being smart. Trump could end up not running for some reason. But even if Pompeo bows out after Trump announces or actually loses to Trump in a primary, he's boosting his recognizability as a candidate.
I wonder if any states will decide to forgo a primary and just award their delegates to Trump.