SSP dismisses 27 policemen for links with criminals, negligence