Foreign Affairs State Department ends ‘assignment restrictions’ policy that some called discriminatory