Four people are dead and dozens of others are injured after a passenger train derailed on central Pakistan.