Malaysian palm ends higher on softer ringgit