Outgoing chancellor switches to parliament role and conservative-Green coalition will stay in office.