Refactor the code to delete a user into a function.

http://w1.fi/cgit/hostap/tree/src/eap_server/eap_sim_db.c:db_remove_reauth().

Signed-off-by: Thiago Farina <tfarina@chromium.org>