Thomas Hankin would have been dismissed had he not resigned from the force