(d)"compensation pension" means if an officer is selected for discharge owing to the abolition of a permanent post. He shall unless he is appointed to another post, the conditions of which are deemed by authority to discharge him to be at least equal to those of his own have the option-