Fired officer suing city for pension