20 injured as train derails near Attock