To migrate your users from dev to production you should use data pump import/export. You can use this to specify which users to export/import. This will also bring their objects, privileges, etc. so you can be sure you have everything.
To remove users that have no objects, run the following to generate a script:
SELECT 'drop user ' || username || ';'
FROM dba_users u
where not exists (select null
from dba_objects o
where o.owner = u.username);
You can then review the output of this, checking it's only removing the users you expect and run that script.