The House passed a package providing security assistance to Ukraine, Israel, and Taiwan, over objections from Republican hardliners.