US lawmakers have voted to expand a visa programme for Afghans facing retribution for helping American troops and diplomats during two-decade war in Afghanistan.