Yoghurt "splits" because of a temperature difference between the yoghurt and the masala. Your masala is very hot and your yoghurt likely is not. To prevent the masala from splitting add a little masala at a time into the whipped yoghurt and it'll gradually bring the temperature of the yoghurt up. You can then add the yoghurt back in to the pan and it should be fine.