The PSNI is facing an “existential” risk if the number of officers continues to decline, a former senior officer has said.