Symmetries and rank deficiency in the orbit determination around another planet