A dramatic mix-up between Virat Kohli and Yashasvi Jaiswal changed the course of the Boxing Day Test in Melbourne.