Ringgit ends lower versus US dollar in line with regional currencies