Police rule out terrorist motive in London train attack