Analysts say election of Khamenei loyalist could ease West's dealings with Tehran due to streamlined hierarchy, but new president's hardline stance could also mean trouble