(Reuters) - The U.S. Immigration and Customs Enforcement agency (ICE) said it will end its contract with BlackBerry maker Research In Motion Ltd in favor of Apple Inc's iPhone, dealing a new blow to RIM just months before it launches a vital new device.