At first glance, it may seem contradictory that the nation’s intelligence agencies were telling Congress that President Vladimir V. Putin is presumably striving to get President Trump re-elected, while also warning Senator Bernie Sanders of evidence that he is the Russian president’s favorite Democrat.