The part closure comes after a freight train derailed near Barking, with emergency repair work being carried out by Network Rail