Implement desugaring for the StaticValues extension.

    static f
==>
    StaticRef $
	  GlobalName "package of f"
	             "package-installed suffix"
	             "module of f"
				 "name of f"