Evolution and stability of cosmic string loops with Y-junctions