Locomotive manufacturer Bombardier has announced 1,400 redundancies at Britain's last major railway factory.