Strong Taiwan earthquake traps people, derails train