Sudan’s military consolidated its grip on the capital, retaking more key government buildings a day after it gained control of the Republican Palace from a paramilitary group.