Republicans pass key Trump initiative after marathon vote-a-rama, avoid barring controversial 'anti-weaponisation' fund.