Some of President Trump’s allies have argued that his motivation for holding up almost $400 million in aid to Ukraine was his deep-seated concern about corruption — and that he needed to test the new Ukrainian administration’s dedication to rooting it out.