The House passed a bipartisan measure to block Iran from accessing $6 billion recently transferred by the U.S. as part of a prisoner swap.