Well then, it seems to me that the Melotta user has complete control over which form she is in for the entire battle. If they choose to use a move which causes them to have two of the same form on their team, it would either fail (much like the current sleep clause prevents you from putting two of the opponent's pokemon to sleep at the same time), or they would lose.