Facebook is taking steps to stop discriminatory advertising practices by removing targeting options that were used to exclude people.