rstp: Use 'else if' in state machines. SM transitions are mutually exclusive.