Donald Trump, the Republican presidential front-runner, said that if elected, he might halt purchases of oil from Saudi Arabia and other Arab allies unless they commit ground troops to the fight against the Islamic State or substantially reimburse the United States for combating the militant group, which threatens their stability.