Sensex ends lower as rally fizzles