Indira Gandhi barred from contesting elections