The European Union is in discussions about removing sanctions it imposed on some Russian individuals over their involvement in Moscow’s war in Ukraine after the bloc’s lawyers found that the penalties may have been imposed on weak grounds, according to people familiar with the matter.