Mechanical stability. When soldered down with four leads the part is can’t move in any direction. The shorted pins makes the pinout slightly more versatile when routing a PCB. When introducing 2 extra pins for mechanical stability is probably cheaper (and more rugged) to build shorted pins than to add unconnected pins.