Resident hands over illegal gun to Mandeville police