Former MPA allowed to contest polls