The chancellor’s left-leaning Social Democrats will now effectively lead a minority government with its remaining coalition partner.