Jacobi fields and regularity of functions of least gradient