Matthew Dowling resigned from the force before he could be fired because of what he spoke about in a WhatsApp group