Mr. Mehlib is the sixth person to occupy Egypt’s often thankless post of prime minister since the uprising against President Hosni Mubarak three years ago, a period that saw the country’s challenges turn into crises that seemed to defy government solutions.