I think time has come to amend the constitution to say that if a state govt once installed fails President's rule shall be imposed for the remaining period before the next election. This will prevent defections and horse trading ( to avoid showing any disrespect to a wonderful animal we should call it donkey trading as that will suit our politicians better).