Labour fails to defend devolution in Senedd vote