Donald Trump has withdrawn his nomination of a former Oklahoma state trooper to become the next director of Immigration and Customs Enforcement.