If a shard configuration changes from/to a replicaset then mongos should warn the user. It should instruct them to add the replicaset name prefix, or remove it depending on the change.
In the future we will need to add a nicer way (command/js-helper) to accomplish this than having to manually changing the config.shards collection.