Eighteen Republicans sided with Democrats to authorize billions in aid to Ukraine.