17 killed, 50 injured as trains collide in Pakistan