COPENHAGEN, Denmark — King Harald V of Norway is improving but will need a permanent pacemaker after falling ill during a trip to Malaysia, the palace said Monday, as the 87-year-old monarch was transferred to an Oslo university hospital for medical tests. The king’s infection “has come under more control,” but he has “has too low a heart rate, and …