Andy Murray and Novak Djokovic have ended their coaching partnership early after working together for six months.