how did the mauryans gain control of most of India