Ringgit, stock market rally as US dollar slumps