What is the significance of 0V output from a regulated power supply?
You can get 0V from an LM317 trivially if you have a negative supply. 

Just make a stable -1.25V supply and return the 5K pot part of the divider to that rather than to ground.