Handling of officer's sex assault case criticized by police union in wake of cop's death