After amending the joint agreement, who received the larger portion of Lithuania