In order to manage your hive you first need to know what is going on. What you have done may be a good thing, then it may also be bad. depending on the state of your hive.
You should always base decisions on situation, and information. First you need to confirm weather or not the main hive has a queen. If so them the bees are planning a swarm, or supercedure. If a queen is present cell location can offer a clue as to their intent. If on the bottom of the frame in a crowded hive with a queen with ample eggs and good pattern. Then it is most likely swarming they are thinking of. If the cells are in the frame and the queen is missing, or the pattern is spotty and or poor then I would suspect supercedure, either emergency, or regular. The reason for needing to know the difference is because the action I would choose is different.
In the case of supercedure if the hive has a lot of bees what you did may work out for you and you could end up with an additional hive. However if the numbers are below average then during the queen rearing process you could wind up with two week hives, Combining them later is always an option. However, small number of bees build much slower then do large number hives.
If swarming is their intention, then you did nothing to prevent it. you have a hive with reduced numbers, that will likely swarm anyway. The split will work through, but the main hive will swarm. You should have left the cells in the main hive and taken the brood, stores, plenty of bees and the queen and placed her in the split. this would make the main hive think it had already swarmed. you would still have a risk of after swarming but it will be reduced.