A major pride march will not feature officers after a state police force withdrew from participating following a ban on uniforms.