The House passed legislation on Thursday that would aid Ukraine and sanction key segments of the Russian economy.