The anti-defection law has played a crucial role in political stability, but there are gaps which need to be addressed to make it more effective and impartial