Revert "Handle demotion when more than one master is elected"

This reverts commit 28b80a49a68c393d4811ec79bd417f9ab6580242.