Because their lifetime pensions are based on their final year’s pay, many detectives are finding they cannot afford to stay.