Lawmakers in Tajikistan have voted to ban Arabic-sounding “foreign” names as well as marriages between first cousins, approving legislation to restrict two common practices that have irked the government of the predominantly Muslim country.