Ringgit closes higher against most major currencies