Who did the 12th Dalai Lama negotiate with?