At least 25, including a UN peacekeeper and four soldiers, are killed in attacks on military headquarters and hospital.