President Donald Trump and senior White House aides in recent weeks have privately, and sometimes publicly, steered Republican candidates in House races in Iowa, Michigan and New York and Senate contests in Maine, Iowa and North Carolina, in hopes of staving off contentious primaries and shoring…