Labour says it will end power-sharing deals with councillors that do not disown the party's new stance.