Even if the center-left lead holds, Magdalena Andersson faces difficult coalition talks among parties divided over power and policy.