When a police officer with more than two decades' service took her life, it set a young detective down a path that would leave him disillusioned about the force's culture and accountability.